//
//  ImagePanelGroupTableViewCell.h
//  mcrmSAAS
//
//  Created by wjxfhxy on 15-6-3.
//  Copyright (c) 2015年 GuangZhouXuanWu. All rights reserved.
//

#import "ExpandDynamicCell.h"

@class ImagePanelGroupTableViewCell;

@protocol ImagePanelGroupTableViewCellDelegate <ExpandDynamicCellDelegate>

-(void)clickAddImageButtonOfImagePanelGroupTableViewCell:(ImagePanelGroupTableViewCell*)cell;

-(void)clickDeleteImageButtonOfImagePanelGroupTableViewCell:(ImagePanelGroupTableViewCell*)cell;

-(void)clickDeleteModeImageButtonOfImagePanelGroupTableViewCell:(ImagePanelGroupTableViewCell*)cell atTag:(NSString*)tag;

@end

@interface ImagePanelGroupTableViewCell : ExpandDynamicCell

@property(nonatomic,readonly) NSArray *selectedImagePath;

-(void)addImage:(UIImage*)image withTag:(NSString*)tag;

-(void)replaceImage:(UIImage*)image atTag:(NSString*)tag;

@end

@class ImagePanelStaticGroupTableViewCell;

@protocol ImagePanelStaticGroupTableViewCelldelegate <ExpandDynamicCellDelegate>

-(void)imagePanelStaticGroupTableViewCell:(ImagePanelStaticGroupTableViewCell*)cell clickedImageButtonTag:(NSString*)tag imageContain:(NSArray*)imageContains;

@end

@interface ImagePanelStaticGroupTableViewCell : ExpandDynamicCell

@property(nonatomic,strong) NSString *title;

@property(nonatomic,strong) NSArray *imageNames;

-(void)addImage:(UIImage*)image withTag:(NSString*)tag;

-(void)replaceImage:(UIImage*)image atTag:(NSString*)tag;

@end